<?php
namespace  App\Constants;

class HandleTypeConstant
{

    public static function getHandleType($type)
    {
        $identies = self::getType($type);

        return isset($identies[$type]) ?: '未设置';
    }


    public function getType($type)
    {

        switch ($type) {
            case 1:
                $identies[1] = '审核';
                break;
            case 2:
                $identies[2] = '添加';
                break;
            case 3:
                $identies[3] = '修改';
                break;
            default:
                break;
        }


    }
}